﻿using System;
using System.Collections.ObjectModel;
using System.Configuration;

namespace MiniFox.Net.Configurations
{
    /// <summary>
    /// 
    /// </summary>
    public sealed class FtpAdapterSettingCollection : KeyedCollection<string, FtpAdapterSetting>
    {
        internal const string ELEMENT_NAME = "httpAdapters";
        /// <summary>
        /// 
        /// </summary>
        /// <param name="item"></param>
        /// <returns></returns>
        protected override string GetKeyForItem(FtpAdapterSetting item)
        {
            return item.Name;
        }
    }
}
